home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 13
/
boot-disc-1997-09.iso
/
HyprWire
/
DATA.Z
/
Wobble Ellipse.mdf
< prev
next >
Wrap
Text File
|
1997-02-04
|
2KB
|
104 lines
kxKinetix
kxType = kxSmalltalkJavaPlugIn
kxModuleDefinition WobblyCircle =
{
kxPublicName = "WobblyCircle"
kxVersion = "1.0"
kxCreationTime = "01/01/97 12:26:15 PM"
kxAuthor = "Hyperwire Demonstration File"
kxLargeIcon = kxBmResType "ModIcons.dll" "WOBCIRC2" 0xFF00FF
kxSmallIcon = kxBmResType "ModIcons.dll" "WOBCIRC1" 0xFF00FF
kxSmalltalkLibraries = "shapes"
kxSmalltalkProxyClass = CircleBundle
kxShortDescription = "Draws wobbly ellipses. This is a demonstration of how to sub-class a Hyperwire object as a plug-in."
// kxHelpName = "CIRCLE_PROPERTIES"
kxHelpDoc = "Modules/Xtras/Samples/Xtras.html"
kxPlugInPackage = "kinetix.hyperc1.userPlugIns"
kxPlugInClass = WobblyCirclePlugIn
kxPropertyEditors = RedFieldsEditor LineAndFillStyleEditor OpusLabelCommentEditor ModuleStateEditor SizePositionEditor OpusColorEditor SpecialEffectsEditor PortEditor
kxLayoutViewProxyClass = CircleAuthorRep
kxPersistentFields =
{
kxField Wobble =
{
kxPublicName = "Wobble"
kxJavaSignature = "I"
kxAccessor = fiSetWobble
kxDescription = "Maximum amount of pixels to wobble from center."
kxDefault = 10
}
kxField Speed =
{
kxPublicName = "Speed (milliseconds)"
kxJavaSignature = "J"
kxAccessor = fiSetSpeed
kxDescription = "Interval between wobbles in milliseconds."
kxDefault = 100
}
kxField Occilation =
{
kxPublicName = "Oscillation"
kxJavaSignature = "i"
kxAccessor = fiSetOscillation
kxDescription = "Maximum amount of pixels to move per tick."
kxDefault = 1
}
}
kxInputPorts =
{
kxInclude "Basic.ipt"
kxInclude "VisualComplete.ipt"
kxInclude "FillColorAndStyle.ipt"
kxPort SetSpeed =
{
kxJavaMethod = wiSetSpeed
kxJavaSignature = "(J)V"
kxPublicNames = "Set Speed" "speed (in milliseconds)" "none"
}
kxPort GetSpeed =
{
kxJavaMethod = wiGetSpeed
kxJavaSignature = "()J"
kxPublicNames = "Get Speed" "speed (in milliseconds)"
}
}
kxInputPortsMenu =
{
Reset
On
Off
Toggle
kxSeparator
GetSpeed
SetSpeed
MoveBy
MoveTo
kxMenu "More" =
{
kxInclude "Basic.imn"
kxInclude "VisualComplete.imn"
kxSeparator
kxInclude "FillColorAndStyle.imn"
}
}
kxOutputPorts =
{
kxInclude "VisualComplete.opt"
}
kxOutputPortsMenu =
{
ButtonUp
ButtonDown
kxSeparator
kxInclude "VisualComplete.omn"
}
}